<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Services\SwitchPayService;
use Illuminate\Http\Request;

class SwitchPayController extends Controller
{
    // 服务端支付回调
    public function callback(Request $request, $pay_platform, $game_channel_id)
    {
        return SwitchPayService::getInstance()->callback($request, $pay_platform, $game_channel_id, 'server');
    }
}
